package pl.edu.pw.elka.tinyrepo.client;

import java.util.concurrent.BlockingQueue;
import java.util.concurrent.LinkedBlockingQueue;

import pl.edu.pw.elka.tinyrepo.client.common.MockRequest;
import pl.edu.pw.elka.tinyrepo.client.controller.Controller;
import pl.edu.pw.elka.tinyrepo.client.view.View;


// FIXME zaimplmentowac

/**
 * Main klienta.
 * 
 * @author Piotr Jarosik
 * @version 09-12-2011
 */

//test
public class ClientMain {

   /**
    * @param args
    */
   public static void main(String[] args) {
	   System.out.println("Klient WebDAV");
	   BlockingQueue<MockRequest> blockingQueue = new LinkedBlockingQueue<MockRequest>();
	   View view = new View(blockingQueue);
	   Controller controller = new Controller(view, blockingQueue);
	   
	   view.display();
	   controller.start();
   }
   

}
